﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucLienHe.ascx.cs" Inherits="TTMarketing.UserControl.ucLienHe" %>
<div class="componentheading">
    Liên hệ
</div>
<asp:DataList ID="DataList1" runat="server" DataSourceID="odsLienHe" Width="100%">
    <ItemTemplate>
        <div id="component-contact">
            <table width="100%" cellpadding="0" cellspacing="0" border="0" class="contentpaneopen">
                <tbody>
                    <tr>
                        <td colspan="2" class="position">
                            <%#Eval("Summary") %>
                            <br>
                            <br>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <%#Eval("Detail") %>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            
                            <br>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </ItemTemplate>
</asp:DataList>
<asp:ObjectDataSource ID="odsLienHe" runat="server" SelectMethod="getTopByType" TypeName="TTBusiness.ClassDB.clsBSNews">
    <SelectParameters>
        <asp:Parameter DefaultValue="10" Name="type" Type="Int32" />
        <asp:Parameter DefaultValue="1" Name="top" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
<form id="emailForm" action="/lien-h" class="form-validate" method="post" name="emailForm">
                            <div class="contact_email">
                                <label for="contact_name">
                                    &nbsp;Tên bạn:
                                </label>
                                <br>
                                    <asp:TextBox ID="txtFullName" runat="server" Width="211px"></asp:TextBox>
&nbsp;<br>
                                            <label id="contact_emailmsg" for="contact_email">
                                                &nbsp;Địa chỉ email:
                                            </label>
                                            <br>
                                                <asp:TextBox ID="txtEmail" runat="server" Width="211px"></asp:TextBox>
&nbsp;<br>
                                                        <label for="contact_subject">
                                                            &nbsp;Điện 
                                thoại:
                                                        </label>
                                                        <br>
                                                            <asp:TextBox ID="txtPhone" runat="server" 
                                    Width="211px"></asp:TextBox>
                                                                <br>
                                                                    <br>
                                                                        <label id="contact_textmsg" for="contact_text">
                                                                            &nbsp;Nội dung thông điệp:
                                                                        </label>
                                                                        <br>
                                                                            &nbsp;<asp:TextBox ID="txtMessage" runat="server" Height="141px" TextMode="MultiLine" Width="379px"></asp:TextBox>
                                                                            <br>
                                                                                <br>
                                                                                    <asp:Button 
                                                                                            ID="Button1" 
                                    runat="server" Text="Gửi" onclick="Button1_Click" Width="65px" />
                                                                                    
                                                                                </br>
                                                                            </br>
                                                                        </br>
                                                                    </br>
                                                                </br>
                                                            </input>
                                                        </br>
                                                    </br>
                                                </input>
                                            </br>
                                        </br>
                                    </input>
                                </br>
                            </div>
                            <input name="option" type="hidden" value="com_contact">
                                <input name="view" type="hidden" value="contact">
                                    <input name="id" type="hidden" value="2">
                                        <input name="task" type="hidden" value="submit">
                                            <input name="4b8317ff040dd3f65a15a0a9ef171f4c" type="hidden" value="1"></input>
                                        </input>
                                    </input>
                                </input>
                            </input>
                            </form>